package cn.gameo2o.service.lcsh.impl;

import java.util.List;
import java.util.Map;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.gameo2o.dao.lcsh.LiuChenShenHeDAO;
import cn.gameo2o.pojo.O2o_flowmanage;
import cn.gameo2o.service.lcsh.LiuChenShenHeService;
import cn.gameo2o.util.PageParam;

/**
 * @author 张嘉辉
 *
 */
@Service
public class LiuChenShenHeServiceImpl implements LiuChenShenHeService {

	@Autowired
	private LiuChenShenHeDAO lcshdao;

	public List<O2o_flowmanage> findlc(Map<String, Object> params, PageParam page) {
		// TODO Auto-generated method stub
		Long count = lcshdao.count(params);
        page.setTotal(count);
        page.setRows(lcshdao.findlc(params,page.getFirst(),page.getPageSize()));
        return lcshdao.findlc(params, page.getFirst(), page.getPageSize());
	}


	
	}
